-- After coming to a contents card, the return button comes to
-- here and does not retrace any old cross references.
put 0 into crossRefDepth
if the userLevel < 5 then
show card field 1
show button OK
end if
end openCard
-- part 41 (field)
-- low flags: 81
-- high flags: 2004
-- rect: left=135 top=120 right=222 bottom=377
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 14
-- style flags: 0
-- line height: 18
-- part name: FullMenus
-- part 58 (field)
-- low flags: 81
-- high flags: 2004
-- rect: left=217 top=32 right=109 bottom=449
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
----- HyperTalk script -----
on mouseUp
hide card field 2
end mouseUp
-- part 42 (button)
-- low flags: 80
-- high flags: 8003
-- rect: left=291 top=219 right=241 bottom=329
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: OK
----- HyperTalk script -----
on mouseUp
play harpsichord "ee c"
hide button "OK"
hide card field "fullmenus"
end mouseUp
-- part 68 (field)
-- low flags: 81
-- high flags: 2004
-- rect: left=41 top=87 right=275 bottom=318
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Utskrift
-- part 70 (button)
-- low flags: 80
-- high flags: 8003
-- rect: left=186 top=241 right=263 bottom=259
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Avbryt
----- HyperTalk script -----
on mouseUp
hide button "Skriv ut"
hide button Avbryt
hide card field Utskrift
end mouseUp
-- part 71 (button)
-- low flags: 80
-- high flags: 8003
-- rect: left=91 top=241 right=263 bottom=165
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Skriv ut
----- HyperTalk script -----
on mouseUp
hide button "Skriv ut"
hide button Avbryt
hide card field Utskrift
open printing with dialog
print 163 cards
close printing
end mouseUp
-- part 72 (button)
-- low flags: 00
-- high flags: A004
-- rect: left=19 top=257 right=280 bottom=110
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: class syntax
----- HyperTalk script -----
on mouseUp
go to card id 5134
end mouseUp
-- part contents for background part 43
----- text -----
267,189
-- part contents for card part 41
----- text -----
För att kunna använda HyperTalk för att se och ändra manus, måste ”Skriva manus” vara förkryssat på kortet Inställningar i Bas-bunten.
-- part contents for card part 58
----- text -----
För mera teknisk dokumentation om HyperTalk, så finns det böcker i bokhandeln eller hos din återförsäljare.
-- part contents for card part 68
----- text -----
Klicka på knappen ”Skriv ut” här nedanför så visas en dialogruta där du kan välja olika sätt att skriva ut avsnittet om HyperTalk i Hjälp. Det tar kanske ett tag att skriva ut beroende på vilken skrivare du använder och vad du angivit för format i dialogrutan.
(Kort i 1/4 storlek går fortast men då blir korten ganska små.)
-- part contents for background part 59
----- text -----
Simple class example
-- part contents for background part 58
----- text -----
class Pen;
begin
procedure Draw;
begin
end --- Draw --- ;
procedure Move;
begin
end --- Move ---;
end --- Pen ---;
-- part contents for background part 60
----- text -----
This class can be used to create a pen;
declare a pen variable:
ref(pen) myPen;
and assign it an actual pen:
myPen:-new Pen;
The procedures in Pen can now be called with dot-notation: